package com.tuanzi.loan.business.repository.product.product;

import com.tuanzi.loan.business.entity.product.product.LoanProductOnlineInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author: chenweijun
 * @Date: 2019/9/10 10:06
 */
public interface LoanProductOnlineInfoRepository extends JpaRepository<LoanProductOnlineInfo, Long> {

    void deleteByProductId(Long productId);

    LoanProductOnlineInfo findOneByProductId(Long productId);


}
